Package com.bitmovin.player.api.network

Types

Link copied to clipboard
open class HttpRequest
Represents an HTTP request.
Link copied to clipboard
enum HttpRequestType : Enum<HttpRequestType>

Available HTTP request types.

Link copied to clipboard
data class HttpResponse(httpRequest: HttpRequest, url: String, status: Int, headers: Map<String, String>, body: ByteArray)
Link copied to clipboard
data class NetworkConfig(preprocessHttpRequestCallback: PreprocessHttpRequestCallback?, preprocessHttpResponseCallback: PreprocessHttpResponseCallback?) : Parcelable

The network configuration gives the ability to influence network requests. It enables preprocessing requests and processing responses.

Link copied to clipboard
interface PreprocessHttpRequestCallback
Can be used to change request parameters before a request is made.
Link copied to clipboard
interface PreprocessHttpResponseCallback

Can be used to the access or change properties of the response before it gets into the player.